package com.manage.platform.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Null;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * YWD
 * 2025/9/24
 */
@Accessors(chain = true)
@Data
public class PositionDto implements Serializable {

    @Schema(description = "岗位ID,修改必传")
    private Long id;

    @Null
    @Schema(description = "创建者用户ID,不传", hidden = true)
    private Long userId;

    @Schema(description = "岗位编码")
    private String code;

    @Schema(description = "岗位名称")
    private String name;

    @Schema(description = "岗位类型")
    private String type;

    @Schema(description = "岗位等级(1-10级)")
    private Integer level;

    @Schema(description = "岗位职责")
    private String duty;

    @Schema(description = "工作内容")
    private String workContent;

    @Schema(description = "状态(0:禁用,1:启用)")
    private Boolean status;

}